Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239340 | VMCH-67-000009 | SV-239340r679569_rule | Low |
Description |
---|
Ensure that no device is connected to a virtual machine if it is not required. For example, floppy, serial and parallel ports are rarely used for virtual machines in a datacenter environment, and CD/DVD drives are usually connected only temporarily during software installation. |
STIG | Date |
---|---|
VMware vSphere 6.7 Virtual Machine Security Technical Implementation Guide | 2022-01-04 |
Check Text ( C-42573r679567_chk ) |
---|
From the vSphere Web Client right-click the Virtual Machine and go to Edit Settings. Review the VMs hardware and verify no CD/DVD drives are connected. or From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command: Get-VM | Get-CDDrive | Where {$_.extensiondata.connectable.connected -eq $true} | Select Parent,Name If a virtual machine has a CD/DVD drive connected other than temporarily, this is a finding. |
Fix Text (F-42532r679568_fix) |
---|
From the vSphere Web Client right-click the Virtual Machine and go to Edit Settings. Select the CD/DVD drive and uncheck "Connected" and "Connect at power on" and remove any attached ISOs. or From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command: Get-VM "VM Name" | Get-CDDrive | Set-CDDrive -NoMedia |